package com.lizhaoshan.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.HashMap;
import java.util.Map;



/**
 * @program: reggie
 * @description:
 * @author: lamour
 * @create: 2022-05-16 09:51
 **/
@Data
@Component
@ConfigurationProperties(prefix = "oss")
public class OssProperties {
   private String endpoint;
   private String accessKey;
   private String secret;
   private String bucketName;
   private String url;
   private Map<String, String> sts = new HashMap<>();
}
